//
//  SmallDecisionsGoogleAdsHelper.h
//  SmallDecisions
//
//  Created by 李付雄 on 2025/6/14.
//

#import <Foundation/Foundation.h>
#ifndef DEBUG
#import <GoogleMobileAds/GoogleMobileAds.h>
#endif

typedef void(^SmallDecisionsGoogleAdsFailureBlock)(void);
typedef void(^SmallDecisionsGoogleAdsSuccessBlock)(void);

NS_ASSUME_NONNULL_BEGIN

@interface SmallDecisionsGoogleAdsHelper : NSObject
+ (void)startRegisterGoogleMobileAds;

// 开屏广告
+ (void)startLoadGoogleLaunchMobileAdsWithController:(UIViewController *)controller
                                                       failureBlock:(_Nullable SmallDecisionsGoogleAdsFailureBlock)failureBlock;

//插屏广告
+ (void)startLoadGoogleViewMobileAdsInterstitialToController:(UIViewController *)viewController failureBlock:(_Nullable SmallDecisionsGoogleAdsFailureBlock)failureBlock;

//横幅广告
+ (void)startLoadGoogleViewMobileAdsAddBannerViewToController:(UIViewController *)viewController
failureBlock:(_Nullable SmallDecisionsGoogleAdsFailureBlock)failureBlock;


@end

NS_ASSUME_NONNULL_END
